package itesm.coler.data;

import itesm.coler.models.Problem;

import java.sql.SQLException;
import java.util.ArrayList;

public interface ProblemDAO {

	public ArrayList<Problem> findAll() throws DAOException, SQLException;
	public ArrayList<Problem>findByCourse(String Course) throws DAOException;
	public Problem findProblemById(int id);
	public Problem findProblemByName(String name);
	public void insertProblem(Problem problema);
	public void modifyProblem(Problem modifier);
	public void deleteProblem(String deleter);
	public void insertWordtoProblem(Problem problema);
	
}
